﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Path : MonoBehaviour {

    public List<Vector3> path;
    public static Path pathManager;

    private void Awake()
    {
        pathManager=this;
        path = new List<Vector3>();
        for (int i = 0; i < transform.childCount; i++)
        {
            path.Add(transform.GetChild(i).position);
        }
    }

}
